%%% Main LaTeX file for the diaspora-srd project.
%%%
%%% This file is distributed under the Artistic Licence, v.2.0
%%% You should have received a file containing the license along
%%% with this file; if not see:
%%% http://www.perlfoundation.org/artistic_license_2_0
%%%
%%% This file was originally converted from HTML to LaTeX with
%%% Tomasz Wegrzanowski's <maniek@beer.com> gnuhtml2latex program
%%%
%%% TODO simplify producing different page formats
%%%   landscape/portrait ; letterpaper/a4paper
% \documentclass[10pt,twocolumn,landscape,letterpaper]{memoir}
% We want memoir to be at least version 3.6h (2011/02/13)
\documentclass[10pt,letterpaper]{memoir}
\usepackage{diaspora-srd} % customizations

%%% Font specifications:
\usepackage[T1]{fontenc}
% \usepackage[OT2]{fontenc}
\ifsansserif{
  \usepackage[scaled]{helvet}
  \renewcommand*\familydefault{\sfdefault}
}{
  \renewcommand*\familydefault{\rmdefault}
}
% \usepackage{cmss}

\title{Diaspora SRD}
\input{credits}

% TODO: complete index
\makeindex
% TODO: create glossary
% \makeglossary

\begin{document}
\frontmatter
\maketitle

{
\thispagestyle{empty}
\vfill
\footnoterule
\footnotesize
This file version \LONGVERSION

Diaspora is \copyright~\href{http://www.vsca.ca/Diaspora}{VSCA Publishing}

\LaTeX{} source code at \url{http://code.google.com/p/diaspora-srd/}
}

\clearpage
\tableofcontents

% \clearpage
% \listoftables
% \listoffigures

\mainmatter
\input{chapter/01}
\input{chapter/02}
\input{chapter/03}
\input{chapter/04}
\input{chapter/05}
\input{chapter/06}
\input{chapter/07}
\input{chapter/08}
\input{chapter/09}

% \clearpage
% \listoftables
% \listoffigures

\backmatter

\appendix
\input{vacavriach/sheets}

\cleardoublepage
\printindex

\input{inc/OGL}

\end{document}
